package com.zyw.jta;

import org.springframework.transaction.jta.ManagedTransactionAdapter;

import javax.transaction.SystemException;
import javax.transaction.TransactionManager;

/**
 * @author zhangyw
 * @version 17/3/9 22:20
 */
public class UserTransactionManager extends ManagedTransactionAdapter {
    /**
     * Create a new ManagedTransactionAdapter for the given TransactionManager.
     *
     * @param transactionManager the JTA TransactionManager to wrap
     */
    public UserTransactionManager(TransactionManager transactionManager) throws SystemException {
        super(transactionManager);
    }
}
